package com.wwz.frame.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Description SwaggerDemo
 * @Author wwz
 * @Date 2019/08/15
 * @Param
 * @Return
 */
@Data
@ApiModel(value = "SwaggerDemo", description = "Swagger demo bean")
public class SwaggerDemo {
    @ApiModelProperty(value = "姓名", name = "name", required = true)
    private String name;
    @ApiModelProperty(value = "uuid", name = "uuid", readOnly = true)
    private String uuid;
    @ApiModelProperty(value = "desc", name = "desc")
    private String desc;
    @ApiModelProperty(hidden = true)
    private Date time;
    @ApiModelProperty(hidden = true)
    private List<String> like;
    @ApiModelProperty(hidden = true)
    private Map<String, String> maps;
}
